<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:mvc="http://www.springframework.org/schema/mvc"
	xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd">
	
	<!-- HTTP request를 통해 전달되는 파라메터를 특정 타입으로 변환하기 위한 변환 서비스 bean을 등록한다. -->
	<bean id="conversionService"
		class="org.springframework.format.support.FormattingConversionServiceFactoryBean">
		<property name="converters">
			<list>
				<bean class="com.nts.visionworks.core.conversion.DateConverter">
					<property name="defaultDateFormat" value="dd/MM/yyyy" />
					<property name="acceptableFormats">
						<list>
							<value>yyyy-MM-dd</value>
							<value>yyyy-MM-dd hh:mm:ss</value>
						</list>
					</property>
				</bean>
				<bean class="org.springframework.core.convert.support.StringToBooleanConverter"></bean>
			</list>
		</property>
	</bean>
	
</beans>